﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GrayParrot.Caching
{
    /// <summary>
    /// The expiration period of a cached item...
    /// </summary>
    public enum ExpirationPeriod
    {
        [Description("Expiration period in second units...")]
        Seconds = 0,
        [Description("Expiration period in minute units...")]
        Minutes,
        [Description("Expiration period in hour units...")]
        Hours,
        [Description("Expiration period in day units...")]
        Days,
        [Description("Cahce item never expire...")]
        None
    }
}
